﻿using System.Windows;
using Flux.Data.Maps;
using Flux.Mvvm.ViewModels;

namespace Flux.Editor.ViewModels
{
	public class MapPaneViewModel
		: ViewModel
	{
		public static readonly DependencyProperty MapProperty = DependencyProperty.Register("Map", typeof (Map), typeof (MapPaneViewModel));
		public Map Map
		{
			get { return (Map) GetValue(MapProperty); }
			set { SetValue(MapProperty, value); }
		}

		public MapPaneViewModel()
		{
			Map = App.SelectedMap;
		}
	}
}